﻿
(function (w, $) {

    w.onload = function () {
        alert(1);
    };

    var a = function () {
        $("#a1").val("123");
    };

    $(function () {
        a();
    });

})(window,jQuery);